/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.wx.entity.WxActivityDisUser;
import com.jeesite.modules.wx.dao.WxActivityDisUserDao;

/**
 * wx_activity_dis_userService
 * @author wangjianxin
 * @version 2018-10-02
 */
@Service
@Transactional(readOnly=true)
public class WxActivityDisUserService extends CrudService<WxActivityDisUserDao, WxActivityDisUser> {
	
	/**
	 * 获取单条数据
	 * @param wxActivityDisUser
	 * @return
	 */
	@Override
	public WxActivityDisUser get(WxActivityDisUser wxActivityDisUser) {
		return super.get(wxActivityDisUser);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param wxActivityDisUser
	 * @return
	 */
	@Override
	public Page<WxActivityDisUser> findPage(Page<WxActivityDisUser> page, WxActivityDisUser wxActivityDisUser) {
		return super.findPage(page, wxActivityDisUser);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param wxActivityDisUser
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(WxActivityDisUser wxActivityDisUser) {
		super.save(wxActivityDisUser);
	}
	
	/**
	 * 更新状态
	 * @param wxActivityDisUser
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(WxActivityDisUser wxActivityDisUser) {
		super.updateStatus(wxActivityDisUser);
	}
	
	/**
	 * 删除数据
	 * @param wxActivityDisUser
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(WxActivityDisUser wxActivityDisUser) {
		super.delete(wxActivityDisUser);
	}
	
}